package com.cb.servicebase.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * edu - teacher - 异常处理
 *
 * @author cb
 * @version 1.0
 * @date 2020/6/20 17:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException extends RuntimeException {
    /**
     * 状态码
     */
    private int code;
    /**
     * 提示消息
     */
    private String msg;

}
